#ifndef VMChangeEvent_H
#define VMChangeEvent_H

#include "DIVA_VM.h"

class VMChangeEvent{
public:
	VMChangeEvent(DIVA_VM* vm,float frame);
	void setPastpos();
	void setPostpos();
	Ogre::Vector3 getPrepos();
	Ogre::Vector3 getPostpos();
	void render(float frame);
	void recover();
	void restart();

private:
	DIVA_VM* _vm;
	Ogre::Vector3 _pastpos;
	Ogre::Vector3 _postpos;
	Ogre::Vector3 _currentpos;
	float _frames;
	float _currentFrames;


};


#endif